package com.js.nickcar.entity.remote;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by LZY on 2017/10/2.
 */

public class LoginBean implements Parcelable {

    private String appraiser_id;
    private String name;
    private String phone;
    private String store_id;
    private String token;

    public String getAppraiser_id() {
        return appraiser_id;
    }

    public void setAppraiser_id(String appraiser_id) {
        this.appraiser_id = appraiser_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStore_id() {
        return store_id;
    }

    public void setStore_id(String store_id) {
        this.store_id = store_id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "LoginBean{" +
                "appraiser_id='" + appraiser_id + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", store_id='" + store_id + '\'' +
                ", token='" + token + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.appraiser_id);
        dest.writeString(this.name);
        dest.writeString(this.phone);
        dest.writeString(this.store_id);
        dest.writeString(this.token);
    }

    public LoginBean() {
    }

    protected LoginBean(Parcel in) {
        this.appraiser_id = in.readString();
        this.name = in.readString();
        this.phone = in.readString();
        this.store_id = in.readString();
        this.token = in.readString();
    }

    public static final Parcelable.Creator<LoginBean> CREATOR = new Parcelable.Creator<LoginBean>() {
        @Override
        public LoginBean createFromParcel(Parcel source) {
            return new LoginBean(source);
        }

        @Override
        public LoginBean[] newArray(int size) {
            return new LoginBean[size];
        }
    };
}
